﻿using Nop.Admin.Models.Customers;
using Nop.Core.Domain.Customers;

namespace Nop.Admin.Extensions
{
    public static class CustomerModelExtension
    {
         
        public static CustomerModel ToModel(this Customer customer)
        {
            var customerModel = new CustomerModel();
            customerModel.Username = customer.Username;
            customerModel.Id = customer.Id;
            return customerModel;
        }
    }
}